package com.itany.corejava.code07_面向对象;

/**
 * @author MissChen
 * @version 1.0
 * @date 2023 年11月03日 9:35
 */
public class Test16 {
    public static void main(String[] args) {
        U u = new U();
        u.name = "aa";
        u.age = 20;
        U u2 = new U();
        u2.name = "bb";
        u2.age = 40;
        System.out.println(u.name);
        System.out.println(u2.name);
        System.out.println(u.age);
        System.out.println(u2.age);


    }
}

class U {
    String name;
    static int age;
}